package com.lkj.service.impl;

import com.lkj.dao.IndexDao;
import com.lkj.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("indexService")
public class IndexServiceImpl implements IndexService {

    @Autowired
    private IndexDao indexDao;

    public String getNameById(String id) {

        return indexDao.getNameById(id);
    }
}
